const routes = [{
    path: '/',
    name: 'home',
    component: () => import('../views/Home.vue'),
    meta: {
      isShowTab: true,
      isShowNav: false,
      title: "首页"
    }
  },
  {
    path: '/classify',
    name: 'clssify',
    component: () => import('../views/Classify.vue'),
    meta: {
      isShowTab: true,
      isShowNav: true,
      title: "分类"
    }
  },
  {
    path: '/cart',
    name: 'cart',
    component: () => import('../views/Cart.vue'),
    meta: {
      isShowTab: false,
      isShowNav: false,
      title: "购物车"
    }
  },
  {
    path: '/user',
    name: 'user',
    component: () => import('../views/User.vue'),
    meta: {
      isShowTab: true,
      isShowNav: true,
      title: "我的"
    }
  },
  {
    path: '/details',
    name: 'details',
    component: () => import('../views/Details.vue'),
    meta: {
      isShowTab: true,
      isShowNav: true,
      title: "详情"
    }
  },
  {
    path: '/kanjian',
    name: 'kanjian',
    component: () => import('../gird/kanjian.vue'),
    meta: {
      isShowTab: false,
      isShowNav: true,
      title: "砍价"
    }
  },
  {
    path: '/lingjuan',
    name: 'lingjuan',
    component: () => import('../gird/lingjuan.vue'),
    meta: {
      isShowTab: false,
      isShowNav: true,
      title: "领劵"
    }
  },
  {
    path: '/qiandao',
    name: 'qiandao',
    component: () => import('../gird/qiandao.vue'),
    meta: {
      isShowTab: false,
      isShowNav: true,
      title: "签到"
    }
  },
  {
    path: '/zhuanlan',
    name: 'zhuanlan',
    component: () => import('../gird/zhuanlan.vue'),
    meta: {
      isShowTab: false,
      isShowNav: true,
      title: "专栏"
    }
  },
  {
    path: '/renqi',
    name: 'renqi',
    component: () => import('../gird/renqi.vue'),
    meta: {
      isShowTab: false,
      isShowNav: true,
      title: "人气推荐"
    }
  },
  {
    path: '/popularityDetails',
    name: 'popularityDetails',
    component: () => import('../components/popularity/popularityDetails.vue'),
    meta: {
      isShowTab: false,
      isShowNav: true,
      title: "商品详情"
    }
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('../views/Login.vue'),
    meta: {
      isShowTab: false,
      isShowNav: true,
      title: "登录"
    }
  },
  {
    path: '/backlogin',
    name: 'backlogin',
    component: () => import('../views/BackLogin.vue'),
    meta: {
      isShowTab: false,
      isShowNav: true,
      title: "退出登录"
    }

  },
  {
    path: '/dizhi',
    name: 'dizhi',
    component: () => import('../views/dizhi.vue'),
   
  },
]

export default routes